package com.tomagency.cyberlab.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

import de.gammadata.gwt.modelle.ResultObject;



public class LoginResult implements  IsSerializable,ResultObject{

	private String message;
	private boolean valid;
	private String userName;

	public String getMessage() {
		return message;
	}

	public String getUserName() {
		return userName;
	}

	public boolean isValidUser() {
		return valid;
	}

	public void setMessage(String message) {
		this.message=message;
		
	}

	public void setUserName(String userName) {
		this.userName=userName;
		
	}

	public void setValidUser(boolean status) {
		this.valid=status;
		
	}



	@Override
	public boolean isOk() {
		return valid;
	}

	@Override
	public void setOk(boolean isOk) {
		valid=isOk;
		
	}

}
